<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table{border-collapse:collapse;border:1px solid #888;border-spacing:0;margin:auto;text-align:center;margin-top:10%;margin-bottom:5%;}

        table th{padding:5px 15px; border:1px solid #888;}
        table td{ border:1px solid #888; }

        th{font-weight:bold;}
    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th>代理ID</th>
                <th>上级商务</th>
                <th>代理商</th>
                <th>总充值（元）</th>
                <th>总分成（元）</th>
                <th>未提现（元）</th>
                <th>提现中（元）</th>
                <th>已打款（元）</th>
                <th>最近结算日期</th>
            </tr>
        </thead>

        <tbody>
            {volist name="list" id="v"}
            <tr>
                <td>{$v.id}</td>
                <td>{$v.eb_name}</td>
                <td>{$v.agent_name}</td>
                <td>{$v.recharge_amount}</td>
                <td>{$v.commission_amount}</td>
                <td>{$v.ud_amount}</td>
                <td>{$v.wp_amount}</td>
                <td>{$v.paid_amount}</td>
                <td>{$v.settlement_date}</td>
            </tr>
            {/volist}
        </tbody>

    </table>
</body>
</html>
